package com.frame.study2rxjava.api;

import com.commonlibrary.httpframe.Apis;
import com.frame.study2rxjava.model.Repo;

import java.util.List;

import io.reactivex.Completable;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface GithubService {

    @GET("users/{user}/repos")
    Observable<List<Repo>> getRepos(@Path("user") String user);
}
